package sjtu.sonnet.LDAPModule.RBAC.model.resource;

import java.io.Serializable;
import sjtu.sonnet.LDAPModule.RBAC.model.group.iGroup;

public class Resource implements AbstractResource,Serializable {

	public Resource() {

	}

	public Resource(String name) {
		this.name = name;
	}

	public Resource(String name, String description) {
		this.name = name;
		this.description = description;
	}

	public Resource(String name, String description, iGroup group) {
		this.name = name;
		this.description = description;
		this.group = group;
	}

	public String getDescription() {
		return this.description;
	}

	public String getName() {
		return this.name;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public iGroup getGroup() {
		return group;
	}

	public void setGroup(iGroup group) {
		this.group = group;
	}

	public void setName(String name) {
		this.name = name;
	}

	private String name = null;
	private String description = null;
	private iGroup group;
}
